package 结业考试;

public class Array {
    public static void main(String[] args) {
        int [] array = new int[3];
        array[0] = 12;
        array[1] = 15;
        array[2] = 16;
//遍历
        for (int i = 0; i <= array.length;i++){
            System.out.println(array[i]);
        }
    }
}
//数组